﻿#ifndef __SS_LIGHT_SYSTEM_H__
#define __SS_LIGHT_SYSTEM_H__
#include "ssSystem.h"
#include "../shader/ssShaderUnifor.h"
#include "../3dMath/ssVector.h"

#define MAX_LIGHT_NUM 4

namespace StarSeeker
{

class ssLightSystem : public ssSystem
{
public:
	struct ssLightPos
	{
		i32				type;
		ssVector3		lightPos;
		ssfloat			lightIntensity;
		ssShaderUniform	uflightType;	//灯类型着色器参数
		ssShaderUniform	uflightPos;		//灯世界坐标着色器参数
		ssShaderUniform	uflightIntensity;//灯强度着色器参数
	};
public:
	ssLightSystem();

	void Work();
public:
	static ssLightPos	s_light[MAX_LIGHT_NUM];
};

}
#endif
